package com.jkoss.wine.merchant.service;

import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.IService;
import com.jkoss.wine.merchant.entity.MerchantProduct;
import com.jkoss.wine.merchant.entity.MerchantProductNorm;

/**
 * 服务类
 * 
 * @Author Ning
 * @Version 1.0, 2018-09-28
 * @See
 * @Since com.jkoss.mengal.merchant.service
 * @Description: TODO
 */
public interface IMerchantProductService extends IService<MerchantProduct> {

	Page selectVoByPage(Page page,Wrapper wrapper);
	
	boolean insertMerchantProduct(MerchantProduct entity, MerchantProductNorm merchantProductNorm, String[] shopAssetUrls) throws Exception;

	boolean updateMerchantProduct(MerchantProduct entity, MerchantProductNorm merchantProductNorm, String[] shopAssetUrls) throws Exception;

	boolean updateProductState(String id,MerchantProduct merchantProduct) throws Exception;
	
	

}
